using System;

namespace Book.Blog.Core.Entities.Statistics
{
    public class DailyStatistics : BaseEntity
    {
        public DateTime Date { get; set; }
        public int PageViews { get; set; }
        public int UniqueVisitors { get; set; }
        public int NewUsers { get; set; }
        public int NewPosts { get; set; }
        public int NewComments { get; set; }
        public string? TopReferrers { get; set; }
        public string? TopPages { get; set; }
        public string? BrowserStats { get; set; }
        public string? DeviceStats { get; set; }

        public DailyStatistics()
        {
            Date = DateTime.UtcNow.Date;
            PageViews = 0;
            UniqueVisitors = 0;
            NewUsers = 0;
            NewPosts = 0;
            NewComments = 0;
        }
    }
} 